package com.kuang.scanner;

/**
 * @author wuJiaWei
 * @version 1.0
 * @date 2024/8/9
 * @time 11:32:50
 */
public class For {
    public static void main(String[] args) {
        System.out.println("----------------------");
        //for循环实现99乘法口诀
        for (int i = 1; i <= 9; i++) {
            for (int j = 1; j <= i; j++) {
                System.out.print(j + "*" + i + "=" + i * j + "\t");
            }
            System.out.println();
        }
    }
}
